package com.ruoyi.bi.domain.portal;


import com.ruoyi.bi.domain.common.BaseEntity;
import com.ruoyi.bi.util.RSBIUtils;
import lombok.Data;

import java.util.List;

@Data
public class GridQuery extends BaseEntity {

	private String id;
	private String type;
	private String name;
	private String dsetId;
	private String dsid;
	private List<GridColDto> cols;
	private List<PortalParamDto> portalParams;
	private List<CompParamDto> params;

	private String lockhead;
	private Integer height;
	private Integer pageSize;
	private Integer curPage;
	private String isnotfy;

	@Override
	public void validate() {
		this.name = RSBIUtils.htmlEscape(this.name);
	}
}
